package com.example.xt.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2022-03-05
 */
@Getter
@Setter
  public class Rder implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
       * 订单编号
       */
      private String medicine;

  /**
   * 药品名称
   */
  private String name;

  /**
   * 数量
   */
  private String num;

  /**
   * 价格
   */
  private BigDecimal price;
  /**
   * 总利润
   */
  private String profit;
  /**
   * id
   */
  private Integer id;
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd日 HH:mm:ss", timezone = "GMT+8")
  private LocalDateTime time;
  private Integer prices;


}
